#define _CRT_SECURE_NO_WARNINGS 1
#include"hash_table.h"
#include"Unordered_map.h"
#include"Unordered_set.h"

void fuc()
{
	yxt_bu::Unordered_map<int, int> ma;
	std::vector<std::pair<int, int>> hash_table_data = {
	{10, 25},
	{20, 30},
	{30, 35},
	{40, 40},
	{11, 45},
	{21, 50},
	{31, 55},
	{41, 60},
	{12, 65},
	{22, 70},
	{32, 75},
	{42, 80},
	{13, 85},
	{23, 90},
	{33, 95},
	{43, 100}
	};
	for (auto t : hash_table_data)
		ma.insert(t);
	/*for (auto t : hash_table_data)
		ma.erase(t.first);*/
	ma.insert(make_pair(80, 80));
	ma.erase(80);
	for (auto i : ma)
	{
		cout << i.first << ' ' << i.second << endl;
	}
	cout << endl;
	for (auto i : ma)
	{
		cout << ma.count(i.first + 1) << endl;;
	}
	int x = 0;
}
int main()
{
	/*yxt::hash_table<int, int> at;
	for (int i = 0; i < 10; i++)
	{
		at.insert(make_pair(i, i));
		at.insert(make_pair(i, i));
	}
	for (int i = 0; i < 10; i++)
	{
		at.erase(i);
	}*/
	fuc();
	return 0;
}